import os


while True:
    print('-' * 40)
    print('\n')
    print('Downloader via aria2')
    print('\n')
    print('-' * 40)
    print('\n')
    
    url = input("URL : ")
    
    if url.lower() == 'q':
        break
    
    command = 'aria2c -c --split=16 --max-connection-per-server=16 %s'%url
    os.system(command)